{t assignTo=title}Clean up cache files{/t}
{if isset($status) && $status == "success"}
{include file="$MODULES_DIR/backoffice/templates/block/modal/ModalTitle.html" title=$title}
<div id="modalContent">
    <table class="modalTable">
        <tr><td>{t}Cache clean up complete.{/t}</td></tr>
    </table>
    
</div>
{include file="$MODULES_DIR/backoffice/templates/block/modal/ModalFooter.html" noButton='true'}
{else}
<div id="formsuccess" style="display:none"></div>
<form name="form" method="post" action="{$URL_RELATIVE}/bo/?module=backoffice&action=block_modal_ModalClearCache" class="nyroModal">
{include file="$MODULES_DIR/backoffice/templates/block/modal/ModalTitle.html" title=$title}
<div id="modalContent">
    <input type="hidden" name="form[submit]" value="submit" />
    <table class="listTable">
        {t assignTo=help}HTML Cache - HTML cache is used when a page is displayed. Clean up when blocks are not correctly displayed.{/t}
        <tr><td>{icon name="info.png" class="toolTip" title=$help}</td><td><label for="html">{t}Clean up HTML cache{/t}</label></td><td><input type="checkbox" name="form[html]" id="html" /></td></tr>
        {t assignTo=help}Document Cache - Documents cache is used to improve performances when a document is loaded. Clean-up when there is a problem in documents relation{/t}
        <tr><td>{icon name="info.png" class="toolTip" title=$help}</td><td><label for="documents">{t}Clean up documents cache{/t}</label></td><td><input type="checkbox" name="form[documents]" id="documents" /></td></tr>
        {t assignTo=help}URL Cache - URL cache is used to optimize url rewriting. Clean up when some urls does not respond correctly.{/t}
        <tr><td>{icon name="info.png" class="toolTip" title=$help}</td><td><label for="urls">{t}Clean up urls cache{/t}</label></td><td><input type="checkbox" name="form[urls]" id="urls" /></td></tr>
        {t assignTo=help}Routes Cache - Routes cache is used in back-office to optimize loading. Clean up when links does not respond correctly in back-office.{/t}
        <tr><td>{icon name="info.png" class="toolTip" title=$help}</td><td><label for="routes">{t}Clean up routes cache{/t}</label></td><td><input type="checkbox" name="form[routes]" id="routes" /></td></tr>
    </table>
</div>
{t assignTo=footTitle}Cleanup{/t}
{include file="$MODULES_DIR/backoffice/templates/block/modal/ModalFooter.html" label=$footTitle}
</form>
{/if}